package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.PmsPurchaseRequisitionsDetail;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PmsPurchaseRequisitionsDetailMapper {

    List<PmsPurchaseRequisitionsDetail> selectPmsPurchaseRequisitionsDetailList(PmsPurchaseRequisitionsDetail pmsPurchaseRequisitionsDetail);


    List<PmsPurchaseRequisitionsDetail> selectPmsPurchaseRequisitionsDetailListByIds(@Param("ids") List<Long> ids);

    PmsPurchaseRequisitionsDetail selectPmsPurchaseRequisitionsDetailById(Long id);

    void insertPmsPurchaseRequisitionsDetail(PmsPurchaseRequisitionsDetail pmsPurchaseRequisitionsDetail);

    void updatePmsPurchaseRequisitionsDetail(PmsPurchaseRequisitionsDetail pmsPurchaseRequisitionsDetail);

    void deletePmsPurchaseRequisitionsDetailById(Long id);

    void deletePmsPurchaseRequisitionsDetailByPrId(Long prId);

    void deletePmsPurchaseRequisitionsDetailByPurchaseRequistionsId(Long purchaseRequistionsId);
}
